package com.bruce.demo2.patterns.demo1.creational.demo01.singleton.demo07;

/**
 * @PROJECT_NAME design_patterns
 * @DESCRIPTION 线程创建对象
 * @AUTHOR CNBruceLee
 * @DATE 2021/7/1 23:05
 */
public class MyThread implements Runnable {
    public void run() {
        Singleton instance = Singleton.getInstance();
        System.out.println(Thread.currentThread().getName() + ":" + instance);
    }
}
